/*
 * HistorialCambioCarrera.java
 *
 * Created on Oct 1, 2008, 11:06:19 AM
 */
package wasolicitudesfiec.CambioCarreraoEspecializacion;

import com.sun.rave.web.ui.appbase.AbstractPageBean;
import com.sun.rave.web.ui.component.Label;
import com.sun.rave.web.ui.component.PanelLayout;
import com.sun.rave.web.ui.component.TextArea;
import javax.faces.FacesException;
import javax.faces.component.html.HtmlInputTextarea;
import javax.faces.convert.DateTimeConverter;
import wasolicitudesfiec.Menu;
import wasolicitudesfiec.general.MensajeException;
import wasolicitudesfiec.logicacontrol.SolicitarCambioCarrera.CTRL_HistorialCambioCarrera;
import wasolicitudesfiec.plantillas.*;

/**
 * <p>Page bean that corresponds to a similarly named JSP page.  This
 * class contains component definitions (and initialization code) for
 * all components that you have defined on this page, as well as
 * lifecycle methods and event handlers where you may add behavior
 * to respond to incoming events.</p>
 *
 * @author kabad
 */
public class HistorialCambioCarrera extends AbstractPageBean {
    // <editor-fold defaultstate="collapsed" desc="Managed Component Definition">

    /**
     * <p>Automatically managed component initialization.  <strong>WARNING:</strong>
     * This method is automatically generated, so any user-specified code inserted
     * here is subject to being replaced.</p>
     */
    private void _init() throws Exception {
        dateTimeConverter1.setTimeZone(java.util.TimeZone.getTimeZone("America/Guayaquil"));
        dateTimeConverter1.setLocale(new java.util.Locale("es", "EC", ""));
        dateTimeConverter1.setDateStyle("full");
        dateTimeConverter1.setPattern("dd/MM/yyyy HH:mm");
    }
    private Label solicitante = new Label();

    public Label getSolicitante() {
        return solicitante;
    }

    public void setSolicitante(Label l) {
        this.solicitante = l;
    }
    private Label carreraActual = new Label();

    public Label getCarreraActual() {
        return carreraActual;
    }

    public void setCarreraActual(Label l) {
        this.carreraActual = l;
    }
    private Label carreraNueva = new Label();

    public Label getCarreraNueva() {
        return carreraNueva;
    }

    public void setCarreraNueva(Label l) {
        this.carreraNueva = l;
    }
    private Label matricula = new Label();

    public Label getMatricula() {
        return matricula;
    }

    public void setMatricula(Label l) {
        this.matricula = l;
    }
     private Label fecha = new Label();

    public Label getFecha() {
        return fecha;
    }

    public void setFecha(Label l) {
        this.fecha = l;
    }

    // </editor-fold>
    private CTRL_HistorialCambioCarrera cTRL_HistorialCambioCarrera;
    private DateTimeConverter dateTimeConverter1 = new DateTimeConverter();
    private int idSolicitud;

    public DateTimeConverter getDateTimeConverter1() {
        return dateTimeConverter1;
    }

    public void setDateTimeConverter1(DateTimeConverter dtc) {
        this.dateTimeConverter1 = dtc;
    }
    private PanelLayout panelsolicitarCambio = new PanelLayout();

    public PanelLayout getPanelsolicitarCambio() {
        return panelsolicitarCambio;
    }

    public void setPanelsolicitarCambio(PanelLayout pl) {
        this.panelsolicitarCambio = pl;
    }
    private PanelLayout panelsolicitarInforme = new PanelLayout();

    public PanelLayout getPanelsolicitarInforme() {
        return panelsolicitarInforme;
    }

    public void setPanelsolicitarInforme(PanelLayout pl) {
        this.panelsolicitarInforme = pl;
    }
    private PanelLayout panelevaluarSolicitud = new PanelLayout();

    public PanelLayout getPanelevaluarSolicitud() {
        return panelevaluarSolicitud;
    }

    public void setPanelevaluarSolicitud(PanelLayout pl) {
        this.panelevaluarSolicitud = pl;
    }
    private PanelLayout panelenvioSolicitudSTA = new PanelLayout();

    public PanelLayout getPanelenvioSolicitudSTA() {
        return panelenvioSolicitudSTA;
    }

    public void setPanelenvioSolicitudSTA(PanelLayout pl) {
        this.panelenvioSolicitudSTA = pl;
    }
    private PanelLayout panelemitirInforme = new PanelLayout();

    public PanelLayout getPanelemitirInforme() {
        return panelemitirInforme;
    }

    public void setPanelemitirInforme(PanelLayout pl) {
        this.panelemitirInforme = pl;
    }
    private HtmlInputTextarea observacionesEstudiante = new HtmlInputTextarea();

    public HtmlInputTextarea getObservacionesEstudiante() {
        return observacionesEstudiante;
    }

    public void setObservacionesEstudiante(HtmlInputTextarea hit) {
        this.observacionesEstudiante = hit;
    }
   
    private HtmlInputTextarea txtaResolucion = new HtmlInputTextarea();

    public HtmlInputTextarea getTxtaResolucion() {
        return txtaResolucion;
    }

    public void setTxtaResolucion(HtmlInputTextarea hit) {
        this.txtaResolucion = hit;
    }
    private Label lblActividad = new Label();

    public Label getLblActividad() {
        return lblActividad;
    }

    public void setLblActividad(Label l) {
        this.lblActividad = l;
    }
    private Label lblFecha = new Label();

    public Label getLblFecha() {
        return lblFecha;
    }

    public void setLblFecha(Label l) {
        this.lblFecha = l;
    }
    private Label lblDecision = new Label();

    public Label getLblDecision() {
        return lblDecision;
    }

    public void setLblDecision(Label l) {
        this.lblDecision = l;
    }
    private Label lblEvaluador = new Label();

    public Label getLblEvaluador() {
        return lblEvaluador;
    }

    public void setLblEvaluador(Label l) {
        this.lblEvaluador = l;
    }
    private HtmlInputTextarea txtaObservacionesSubDecano = new HtmlInputTextarea();

    public HtmlInputTextarea getTxtaObservacionesSubDecano() {
        return txtaObservacionesSubDecano;
    }

    public void setTxtaObservacionesSubDecano(HtmlInputTextarea hit) {
        this.txtaObservacionesSubDecano = hit;
    }
    private Label lblSolicitante1 = new Label();

    public Label getLblSolicitante1() {
        return lblSolicitante1;
    }

    public void setLblSolicitante1(Label l) {
        this.lblSolicitante1 = l;
    }
    private Label lblSubDecano1 = new Label();

    public Label getLblSubDecano1() {
        return lblSubDecano1;
    }

    public void setLblSubDecano1(Label l) {
        this.lblSubDecano1 = l;
    }
    private HtmlInputTextarea txtaObservacionesSubDecano1 = new HtmlInputTextarea();

    public HtmlInputTextarea getTxtaObservacionesSubDecano1() {
        return txtaObservacionesSubDecano1;
    }

    public void setTxtaObservacionesSubDecano1(HtmlInputTextarea hit) {
        this.txtaObservacionesSubDecano1 = hit;
    }
    private PanelLayout panelrevisarSolicitud = new PanelLayout();

    public PanelLayout getPanelrevisarSolicitud() {
        return panelrevisarSolicitud;
    }

    public void setPanelrevisarSolicitud(PanelLayout pl) {
        this.panelrevisarSolicitud = pl;
    }
    private PanelLayout panelvolveraSolicitar = new PanelLayout();

    public PanelLayout getPanelvolveraSolicitar() {
        return panelvolveraSolicitar;
    }

    public void setPanelvolveraSolicitar(PanelLayout pl) {
        this.panelvolveraSolicitar = pl;
    }
    private PanelLayout panelrevisarInformes = new PanelLayout();

    public PanelLayout getPanelrevisarInformes() {
        return panelrevisarInformes;
    }

    public void setPanelrevisarInformes(PanelLayout pl) {
        this.panelrevisarInformes = pl;
    }
    private Label lblEvaluador1 = new Label();

    public Label getLblEvaluador1() {
        return lblEvaluador1;
    }

    public void setLblEvaluador1(Label l) {
        this.lblEvaluador1 = l;
    }
    private Label lblInforme = new Label();

    public Label getLblInforme() {
        return lblInforme;
    }

    public void setLblInforme(Label l) {
        this.lblInforme = l;
    }
    private Label lblDecision1 = new Label();

    public Label getLblDecision1() {
        return lblDecision1;
    }

    public void setLblDecision1(Label l) {
        this.lblDecision1 = l;
    }
    private Label lblDecisionVolverASolicitar = new Label();

    public Label getLblDecisionVolverASolicitar() {
        return lblDecisionVolverASolicitar;
    }

    public void setLblDecisionVolverASolicitar(Label l) {
        this.lblDecisionVolverASolicitar = l;
    }
    private HtmlInputTextarea txtaObservacionesCoordinador = new HtmlInputTextarea();

    public HtmlInputTextarea getTxtaObservacionesCoordinador() {
        return txtaObservacionesCoordinador;
    }

    public void setTxtaObservacionesCoordinador(HtmlInputTextarea hit) {
        this.txtaObservacionesCoordinador = hit;
    }
    private Label lblSubDecano = new Label();

    public Label getLblSubDecano() {
        return lblSubDecano;
    }

    public void setLblSubDecano(Label l) {
        this.lblSubDecano = l;
    }
    private Label lblSecretaria = new Label();

    public Label getLblSecretaria() {
        return lblSecretaria;
    }

    public void setLblSecretaria(Label l) {
        this.lblSecretaria = l;
    }

    /**
     * <p>Construct a new Page bean instance.</p>
     */
    public HistorialCambioCarrera() {
        cTRL_HistorialCambioCarrera = new CTRL_HistorialCambioCarrera(this, getFacesContext());
    }

    @Override
    public void init() {
        // Perform initializations inherited from our superclass
        try {

            super.init();

            // <editor-fold defaultstate="collapsed" desc="Managed Component Initialization">
            // Initialize automatically managed components
            // *Note* - this logic should NOT be modified
            try {
                _init();
            } catch (Exception e) {
                log("HistorialCambioCarrera Initialization Failure", e);
                throw e instanceof FacesException ? (FacesException) e : new FacesException(e);
            }

            // </editor-fold>
            cTRL_HistorialCambioCarrera.inicializar();

        } catch (MensajeException ex) {
            cTRL_HistorialCambioCarrera.addCookieMensaje(ex.getMessage(), null);
            cTRL_HistorialCambioCarrera.redireccionar("/WA_SolicitudesFIEC/faces/general/Mensaje.jsp");
        }
    }

    /**
     * <p>Callback method that is called after the component tree has been
     * restored, but before any event processing takes place.  This method
     * will <strong>only</strong> be called on a postback request that
     * is processing a form submit.  Customize this method to allocate
     * resources that will be required in your event handlers.</p>
     */
    @Override
    public void preprocess() {
    }

    /**
     * <p>Callback method that is called just before rendering takes place.
     * This method will <strong>only</strong> be called for the page that
     * will actually be rendered (and not, for example, on a page that
     * handled a postback and then navigated to a different page).  Customize
     * this method to allocate resources that will be required for rendering
     * this page.</p>
     */
    @Override
    public void prerender() {
        if (getPanelIzquierdo() != null) {
            getPanelIzquierdo().miPrerender();
        }
    }

    /**
     * <p>Callback method that is called after rendering is completed for
     * this request, if <code>init()</code> was called (regardless of whether
     * or not this was the page that was actually rendered).  Customize this
     * method to release resources acquired in the <code>init()</code>,
     * <code>preprocess()</code>, or <code>prerender()</code> methods (or
     * acquired during execution of an event handler).</p>
     */
    @Override
    public void destroy() {
    }

    protected PanelIzquierdo getPanelIzquierdo() {
        return (PanelIzquierdo) getBean("plantillas$PanelIzquierdo");
    }

    public Menu getMenu() {
        return (Menu) getBean("SolicitudesFIEC$Menu");
    }

    /**
     * @return the idSolicitud
     */
    public int getIdSolicitud() {
        return idSolicitud;
    }

    /**
     * @param idSolicitud the idSolicitud to set
     */
    public void setIdSolicitud(int idSolicitud) {
        this.idSolicitud = idSolicitud;
    }
}

